devisualization.image.fileformats.png

PNG file format image loader/exporter

Members

Aliases

HeadersOnlyPNGFileFormat
alias HeadersOnlyPNGFileFormat = PNGFileFormat!HeadersOnly
RGB16
alias RGB16 = RGB!("rgb", ushort)

Grumbles @ManuEvans...

RGBA16
alias RGBA16 = RGB!("rgba", ushort)

Grumbles @ManuEvans...

Enums

PngIHDRBitDepth
enum PngIHDRBitDepth
PngIHDRColorType
enum PngIHDRColorType
PngIHDRCompresion
enum PngIHDRCompresion
PngIHDRFilter
enum PngIHDRFilter
PngIHDRInterlaceMethod
enum PngIHDRInterlaceMethod
PngPhysicalPixelUnit
enum PngPhysicalPixelUnit
PngRenderingIntent
enum PngRenderingIntent
PngTextKeywords
enum PngTextKeywords

Functions

asPNG
managed!(PNGFileFormat!Color) asPNG(From from, IAllocator allocator)

Constructs a compatible version of an image as PNG

asPNG
managed!(PNGFileFormat!Color) asPNG(From from, IAllocator allocator)
Undocumented in source. Be warned that the author may not have intended to support it.
loadPNG
managed!(PNGFileFormat!Color) loadPNG(IR input, IAllocator allocator)

Loads a PNG file using specific color type

loadPNGHeaders
managed!(PNGFileFormat!HeadersOnly) loadPNGHeaders(IR input, IAllocator allocator)

Loads a PNG file headers

Structs

IHDR_Chunk
struct IHDR_Chunk
PLTE_Chunk
struct PLTE_Chunk
PNGFileFormat
struct PNGFileFormat(Color)

PNG file format representation

cHRM_Chunk
struct cHRM_Chunk
gAMA_Chunk
struct gAMA_Chunk
iCCP_Chunk
struct iCCP_Chunk
pPHs_Chunk
struct pPHs_Chunk
sPLT_Chunk
struct sPLT_Chunk
sRGB_Chunk
struct sRGB_Chunk

Unions

bKGD_Chunk
union bKGD_Chunk
sBIT_Chunk
union sBIT_Chunk
tRNS_Chunk
union tRNS_Chunk

Meta

License

Copyright Devisualization (Richard Andrew Cattermole) 2014 - 2017. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)